import QtQuick 1.0
import com.meego 1.0


Rectangle {
    id: rectangle1
    color: "transparent"
    radius: 11
    border.width: 1
    border.color: "#0051ff"
    visible: false

    property alias running: busyindicator.running
    property alias waitMessage: waitMessage.text
    property alias showDialog: rectangle1.visible

    Text {
        id: waitMessage
        x: 0
        clip: true
        color: "#be0808"
        text: "Ricerca in corso..."
        anchors.top: parent.top
        anchors.topMargin: 13
        verticalAlignment: Text.AlignTop
        horizontalAlignment: Text.AlignHCenter
        smooth: true
        anchors.horizontalCenter: parent.horizontalCenter
        font.pixelSize: 16
    }

    BusyIndicator {
        id: busyindicator
        x: (rectangle1.width - busyindicator.width) / 2
        height: 33
        anchors.bottom: parent.bottom
        anchors.bottomMargin: 3
    }
}
